package com.neutech.entity;

import com.mybatisflex.annotation.Table;
import com.neutech.core.BaseEntity;
import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Date;

import java.io.Serial;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.EqualsAndHashCode;

/**
 * 课程日志 实体类。
 *
 * @author Administrator
 * @since 2025-02-08
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Schema(description = "课程日志")
@Table("course_log")
public class CourseLog extends BaseEntity implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 日期
     */
    @Schema(description = "日期", type = "Date")
    private Date date;

    /**
     * 班级id
     */
    @Schema(description = "班级id", type = "Integer")
    private Integer gradeId;

    /**
     * 讲师id
     */
    @Schema(description = "讲师id", type = "Integer")
    private Integer teacherId;

    /**
     * 课程id
     */
    @Schema(description = "课程id", type = "String")
    private String courseId;

    /**
     * 上午内容
     */
    @Schema(description = "上午内容", type = "String")
    private String morning;

    /**
     * 下午内容
     */
    @Schema(description = "下午内容", type = "String")
    private String afternoon;

    /**
     * 晚上内容
     */
    @Schema(description = "晚上内容", type = "String")
    private String night;

    /**
     * 上午时长
     */
    @Schema(description = "上午时长", type = "BigDecimal")
    private BigDecimal mtime;

    /**
     * 下午时长
     */
    @Schema(description = "下午时长", type = "BigDecimal")
    private BigDecimal atime;

    /**
     * 晚上时长
     */
    @Schema(description = "晚上时长", type = "BigDecimal")
    private BigDecimal ntime;

    /**
     * 讲师姓名
     */
    @Schema(description = "讲师姓名", type = "String")
    private String teacherName;

    /**
     * 状态
     */
    @Schema(description = "状态", type = "Boolean")
    private Boolean active;

    /**
     * 课程名称
     */
    @Schema(description = "课程名称", type = "String")
    private String courseName;

}
